/**
 * @project_name staff_vehicle
 * @package_name com.ssh.ser.admin
 * @desc TODO
 * @param
 * @author jack
 * @date 2013-5-1
 * @time 上午7:31:24
 */
package com.ssh.ser.admin;

import java.util.List;

import com.ssh.entity.InnerDriver;
import com.ssh.entity.InnerVehicle;
import com.ssh.entity.StaffApplyCar;
import com.ssh.entity.StaffUseCar;
import com.ssh.model.pdata.StaffDepApplyCarMData;

/**
 * @author jack
 * @desc 派车、安排驾驶员服务接口
 */
public interface DispatchVDMSerI {
	/**	通过车辆等级 查看可以派发的车辆*/
	public List<InnerVehicle> viewCanDVehicleByLevel(String vehicleLevel);
	/** 通过驾驶员编号查看可以派遣的驾驶员*/
	public InnerDriver viewDriverByDId(String driverId);
	/** 查看可以派遣的驾驶员*/
	public List<InnerDriver> viewCanDDriver(String state);
	/** 同意派车、派遣驾驶员*/
	public String agreeDVDriver(String idWhoApply,String idWhoUseCar,String vehicleId,String driverId);
	/** 不同意派车、派遣驾驶员*/
	public String declineDVDriver(String idWhoApply,String idWhoUseCar,String vehicleId,String driverId);
	/** 同意派车、派遣驾驶员*/
	public String agreeDVDriver(StaffUseCar staffUseCar,StaffApplyCar staffApplyCar);
	/** 不同意派车、派遣驾驶员*/
	public String declineDVDriver(String idWhoApply, String idWhoUse);
	/** 查看有哪些员工需要申请的信息*/
	public List<StaffDepApplyCarMData> viewWhoWToApply();
	/**
	 * @return
	 * @desc 查看某位员工申请的信息
	 */
	public List<StaffDepApplyCarMData> viewOneWaitingApply(String idWhoApply, String idWhoUse,String applyResult);
	/**
	 * @return
	 */
	public String declineDVDriver(int idstaffApplyCar);
}
